package basic.xiazheng;

/**
 * @创建人 MBY381
 * @创建时间 2022/3/25 19:38
 * @描述 暂无
 */
public class RandomBoard {
    public static void main(String[] args) {
        System.out.println(Thread.currentThread().getName());
        Thread1 th = new Thread1();
        th.run();
        System.out.println(Thread.currentThread().getName());
        Thread thread = new Thread(th, "thread002");
        System.out.println(Thread.currentThread().getName());
        thread.start();

        String a = "\u0005";
        System.out.println(a);
        char cr = 'A';
        System.out.println((int) cr);
        //65 ，，大写A的char  int
        char cr1 = 'a';
        System.out.println((int) cr1);
        //97 ,, 小写a的char  int
        System.out.println((char) ((int) cr + 2));
    }

    static class Thread1 implements Runnable {
        @Override
        public void run() {
            System.out.println("线程正在运行");
        }
    }
}
